main{
    display: flex;
    justify-content: space-between;
}
div{
    width: 100px;
    height: 100px;
    background: #0ff;
    margin: 5px;
    transition: flex 1s;
}
div:target{
    flex: 1;
    background: #FF00FF;
}
